{# Copyright 2015 Siemens AG

   Copying and distribution of this file, with or without modification,
   are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
   This file is offered as-is, without any warranty.
#}

PackageName: {{ packageName }}
PackageFileName: {{ uploadName }}
SPDXID: SPDXRef-upload{{ packageId }}
PackageDownloadLocation: NOASSERTION
PackageVerificationCode: {{ verificationCode }}
PackageChecksum: SHA1: {{ sha1 | lower }}
PackageChecksum: SHA256: {{ sha256 | lower }}
PackageChecksum: MD5: {{ md5 | lower }}
{# PackageChecksum: SSDEEP: #}
{% if mainLicenses|default is empty %}
PackageLicenseConcluded: NOASSERTION
PackageLicenseDeclared: NOASSERTION
{% else %}
PackageLicenseConcluded: {{ mainLicense }}
PackageLicenseDeclared: {{ mainLicense }}
{% endif %}
{% if licenseComments %}PackageLicenseComments: <text> {{ licenseComments|replace({'<text>':'&lt;text&gt;','</text>':'&lt;/text&gt;'}) }} </text>
{% endif %}
PackageLicenseInfoFromFiles: NOASSERTION
PackageCopyrightText: NOASSERTION

Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-upload{{ packageId }}
{# RelationshipComment: #}

##--------------------------
## File Information
##--------------------------
{{ fileNodes }}
